Ext.define('Admin.view.main.Main', {
    extend: 'Ext.container.Viewport',
    requires: [
        'Admin.view.main.MainModel',
        'Admin.view.main.MainWrapper',
        'Admin.view.main.MainController',
    ],
    id : 'app-main',
    controller: 'main',
    viewModel: 'main',
    layout: {
        type: 'vbox',
        align: 'stretch'
    },
    items: [
        {
            region: 'center',
            xtype: 'main-main-wrapper',
            referenceHolder : true,
            reference: 're_main_main_wrapper',
        },
    ],
    listeners: {
        //自适应屏幕
        resize : 'onResize'
    },
});
